From: Abou Al Montacir Date: Sun, 24 Dec 2023 10:36:38 +0000 (+0000) Subject: Change fpmake to install missign package examples. X-Git-Tag: archive/raspbian/3.2.2+dfsg-32+rpi1~7 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=d24b144e7c69ecea4f2802a07e2b2473f0a36898;p=fpc.git Change fpmake to install missign package examples. Bug-Debian: https://bugs.debian.org/1016914 Origin: vendor Forwarded: no Reviewed-By: None Last-Update: 2022-11-19 Some packages do not install their examples. This patch allows to add code in their fpmake to install their examples. Gbp-Pq: Name change_fpmake_to_install_missing_package_examples.patch --- diff --git a/fpcsrc/packages/webidl/fpmake.pp b/fpcsrc/packages/webidl/fpmake.pp index 764caea9..913a45b1 100644 --- a/fpcsrc/packages/webidl/fpmake.pp +++ b/fpcsrc/packages/webidl/fpmake.pp @@ -48,6 +48,8 @@ begin AddUnit('webidlscanner'); AddUnit('webidlparser'); end; + P.ExamplePath.Add('examples'); + T:=P.Targets.AddExampleProgram('parsewebidl.pas'); {$ifndef ALLPACKAGES} Run; end;